import ajax from '@/http/ajax.js'
// import qs from 'qs'


const api = {
  getMessage: '/Message/getMessage', // 获取留言
  insertMessage: '/Message/insertMessage', // 插入留言
}



export const getMessage = data => ajax({
  url: api.getMessage,
  method: 'POST',
  data: data
})

export const insertMessage = data => ajax({
  url: api.insertMessage,
  method: 'POST',
  data: data
})